package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.StrategyComment;
import cn.wolfcode.luowowo.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {
    //获取全部
    List<StrategyComment> list();
    //获取单个
    StrategyComment selectOne(String id);
    //分页
    Page<StrategyComment> query(StrategyCommentQuery qo);
    //更新或者新增
    void save(StrategyComment strategyComment);
    //删除
    void delete(String id);

    void addComment(StrategyComment strategyComment);

    /**
     * 点赞操作
     * @param cid
     * @param uid
     */
    void commentThumb(String cid, String uid);

    /*StrategyComment queryBySid(String sid);*/
}
